import myRequest from '../request'

// get请求，获取首页热门建议
export const reqgetHomeHotSuggests = () => {
    return myRequest.request({
      url: "/home/hotSuggests",
      methods: "get"
    })
}

// get请求，获取首页推荐类别
export const reqgetHomeCategories = () => {
  return myRequest.request({
    url: "/home/categories",
    methods: "get"
  })
}

// get请求，获取首页热门精选
export const reqgetHouseList = (currentPage) => {
  return myRequest.request({
    url: "/home/houselist",
    methods: "get",
    params:{
      page: currentPage
    }
  })
}
